<include file="Public:header" />
</head>
<script type="text/javascript" src="__PUBLIC__/js/sysinfo.js"></script>
<body>
<include file="Public:navigation" />
<div class="stat_list">
	<ul>
		<li <if condition="$info eq 1">class="now"</if>><a href="__URL__/basic/info/1" title="基本信息">基本信息</a></li>
		<li <if condition="$info eq 2">class="now"</if>><a href="__URL__/basic/info/2" title="系统邮箱配置">系统邮箱配置</a></li>
	</ul>
</div>
    <form method="POST" name="myform" action="basic.php?anyid={$anyid}&lang={$lang}&cs={$cs}" target="_self">
	<input name="action" type="hidden" value="modify" />
	<table cellpadding="2" cellspacing="1" class="table">
	<if condition="$info eq 1">
	<!-- 基本信息 -->
    <tr> 
        <td class="text"><span class="bi_tian">*</span>网站名称：</td>
        <td class="input"><input name="met_webname" type="text" class="text" value="{$met_webname}" /></td>
    </tr>
    <tr> 
        <td class="text"><span class="bi_tian">*</span>网站logo：</td>
        <td class="input upload">
		    <input name="met_logo" type="text" class="text" value="{$met_logo}" />
			<input name="met_upsql" type="file" id="file_upload" />
		</td>
    </tr>	
	<tr> 
        <td class="text"><span class="bi_tian">*</span>网站网址：</td>
        <td class="input">
		    <input name="met_weburl" type="text" class="text" value="{$met_weburl}" />
		    <span class="tips color390">建议填写检测到的网址：<font class="red">http://127.0.0.8/MetInfo/</font></span>
	    </td>
    </tr>
    <tr> 
        <td class="text"></td>
        <td class="input color390">搜索引擎优化设置</td>
    </tr> 
    <tr> 
        <td class="text"><span class="bi_tian">*</span>网站关键词：</td>
        <td class="input">
			<input name="met_keywords" type="text " class="text gen" value="{$met_keywords}" />
			<span class="tips">多个关键词请用竖线|隔开，建议3到4个关键词。</span>
		</td>
    </tr> 
    <tr> 
        <td class="text"><span class="bi_tian">*</span>网站描述：</td>
        <td class="input">
			<textarea name="met_description" cols="45" class="textarea" rows="5">{$met_description}</textarea>
			<span class="tips">100字以内</span>
		</td>
    </tr>
    <else /> 
    <!-- 系统邮箱配置 -->
	<tr> 
        <td class="text"></td>
        <td class="input color390">用于系统发送邮件，站内所有邮件都由该邮箱发送，所以请务必正确填写。</td>
    </tr>
	<tr> 
        <td class="text">发件人姓名：</td>
        <td class="input"><input name="met_fd_fromname" type="text" class="text" autocomplete="off" value="{$met_fd_fromname}" /><span class="tips">所显示的发件人姓名</span></td>
    </tr> 
	<tr> 
        <td class="text">邮箱账号：</td>
        <td class="input"><input name="met_fd_usename" type="text" class="text" autocomplete="off" value="{$met_fd_usename}" /><span class="tips">用于发送邮件的邮箱账号</span></td>
    </tr> 
	<tr> 
        <td class="text">邮件SMTP服务器：</td>
        <td class="input"><input name="met_fd_smtp" type="text" class="text" autocomplete="off" value="{$met_fd_smtp}" /><span class="tips">如163邮箱为smtp.163.com</span></td>
    </tr> 
	<tr> 
        <td class="text">邮箱密码：</td>
        <td class="input"><input name="met_fd_password" type="password" class="text" autocomplete="off" value="{$met_fd_password}" /><span class="tips">用于发送邮件的邮箱密码</span></td>
    </tr>
	<tr> 
        <td class="text">邮件发送测试：</td>
        <td class="input">
		<a href="basic.php?lang={$lang}&action=email" onclick="return emailtest($(this)); return false;">点击测试</a>
		<span id="emailtest"></span>
		</td>
    </tr>
    </if>
	<tr> 
        <td class="text"></td>
	    <td class="submit">
		<input type="submit" name="submit1" value="保存" class="submit" onclick="return Smit($(this),'myform')" />
		</td>
    </tr>
	</table>
	</form>
</body>
</html>